package view;

import javax.swing.JComponent;
import javax.swing.JFrame;

//import controller.MouseListener.ScreenMouseListener;

public class ScreenManager 
{ private static JFrame frame;
  public void manage(JFrame _frame)
  { frame = _frame; }
  public static void switchToScreen(JComponent screen)
  { frame.setContentPane(screen); 
    frame.validate();
  }
}
